<?php
session_start();
require_once('./dbconnect.class.php');    //导入class文件
require_once('./db_config.php');
header('Content-Type:text/html;charset=utf-8');

$dbconnect = new dbconnect($localhost,$username,$password,$dbname);
$data = $dbconnect->select('t_video_name',array('id'=>'1'));
$video_name = $data[0]['path'];
// var_dump($data[0]['path']);
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
    <title>video text</title>
    <style type="text/css">
        
    </style>
    <script type="text/javascript">    
    
    </script>
</head>
<body>
<embed src="<?php echo $video_name?>" quality="high" width="480" height="400" align="middle" allowScriptAccess="always" allowFullScreen="true" mode="transparent" type="application/x-shockwave-flash">
    
</embed>

</body>
</html>

